package com.lyw.forum.pojo.dataobject;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lyw.forum.pojo.response.UserSelectResponse;
import lombok.Data;
import org.apache.ibatis.type.JdbcType;

import java.util.Date;
@Data
@TableName("t_article_reply")
public class ArticleReply {
    @TableId(type = IdType.AUTO)
    @TableField(jdbcType = JdbcType.BIGINT)
    private Integer id;
    @TableField(jdbcType = JdbcType.BIGINT)
    private Integer articleId;
    @TableField(jdbcType = JdbcType.BIGINT)
    private Integer postUserId;
    @TableField(jdbcType = JdbcType.BIGINT)
    private Integer replyId;
    @TableField(jdbcType = JdbcType.BIGINT)
    private Integer replyUserId;
    private String content;
    private Integer likeCount;
    private Byte state;
    private Byte deleteState;
    private Date createTime;
    private Date updateTime;
    private UserSelectResponse user;

}